﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Foundation
{
    class Vegetable
    {        
        protected double Cost;
        protected double Weight;

        public double ReturnWeight() 
        {
            return Weight;
        }

        public double ReturnCost()
        {
            return Cost;
        }

        public void SetWeight(double _Weight) 
        {
            Weight = _Weight;
        }

    }
}
